package com.hksj.em.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
public class DevicesInfoQuery {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("节点路径")
    @NotBlank(message = "节点路径不能为空")
    private String paths;

    @ApiModelProperty(value = "专业名称code")
    @NotBlank(message = "专业名称code不能为空")
    private String code;

    @ApiModelProperty("设备状态(notActive=未激活 offline=离线 online=在线)")
    private String state;

    @ApiModelProperty(value = "当前页 默认值为1")
    private Long pageNum = 1L;

    @ApiModelProperty(value = "分页大小 默认值为10")
    private Long pageSize = 10L;
}
